package com.marvels.financial.pay.bfpay.dto;

import java.io.Serializable;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

/** 
 * 宝付代付回调DTO(正文)  trans_content-->trans_reqDatas-->trans_reqData（循环域）
 * @author 唐佩文
 *
 */
@XStreamAlias("trans_content")
public class BfPaymentCallBackContentDTO implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@XStreamAlias("trans_reqDatas")
	private  TransReqDatas transReqDatas;
	
	public TransReqDatas getTransReqDatas() {
		return transReqDatas;
	}

	public void setTransReqDatas(TransReqDatas transReqDatas) {
		this.transReqDatas = transReqDatas;
	}


	@XStreamAlias("trans_reqDatas")
	public class TransReqDatas implements Serializable{
		
		private static final long serialVersionUID = 1L;
		 
		@XStreamImplicit
		private List<TransReqData> transReqData;
		
		
		public List<TransReqData> getTransReqData() {
			return transReqData;
		}


		public void setTransReqData(List<TransReqData> transReqData) {
			this.transReqData = transReqData;
		}


		@XStreamAlias("trans_reqData")
		public class TransReqData implements Serializable{
			 private static final long serialVersionUID = 1L;
			 
			 @XStreamAlias("trans_orderid")
			 @XStreamAsAttribute
			 private String transOrderid;//宝付订单号
			 
			 @XStreamAlias("trans_batchid")
			 @XStreamAsAttribute
			 private String transBatchid;//宝付批次号
			 
			 
			 @XStreamAlias("trans_no")
			 @XStreamAsAttribute
			 private String transNo;//宝付批次号
			 
			 
			 @XStreamAlias("trans_money")
			 @XStreamAsAttribute
			 private String transMoney;//交易金额
			 
			 
			 @XStreamAlias("to_acc_name")
			 @XStreamAsAttribute
			 private String toAccName;//收款方姓名
			 
			 
			 @XStreamAlias("to_acc_no")
			 @XStreamAsAttribute
			 private String toAccNo;//收款方银行帐号
			 
			 
			 @XStreamAlias("trans_fee")
			 @XStreamAsAttribute
			 private String transFee;//交易手续费
			 
			 
			 
			 @XStreamAlias("state")
			 @XStreamAsAttribute
			 private String state;//交易处理状态
			 
			 
			 @XStreamAlias("trans_summary")
			 @XStreamAsAttribute
			 private String transSummary;
			 
			 
			 
			 @XStreamAlias("trans_remark")
			 @XStreamAsAttribute
			 private String transRemark;//备注（错误信息）
			 
			 
			 
			 @XStreamAlias("trans_starttime")
			 @XStreamAsAttribute
			 private String transStarttime;//交易申请时间
			 
			 
			 @XStreamAlias("trans_endtime")
			 @XStreamAsAttribute
			 private String transEndtime;//交易申请时间


			public String getTransOrderid() {
				return transOrderid;
			}


			public void setTransOrderid(String transOrderid) {
				this.transOrderid = transOrderid;
			}


			public String getTransBatchid() {
				return transBatchid;
			}


			public void setTransBatchid(String transBatchid) {
				this.transBatchid = transBatchid;
			}


			public String getTransNo() {
				return transNo;
			}


			public void setTransNo(String transNo) {
				this.transNo = transNo;
			}


			public String getTransMoney() {
				return transMoney;
			}


			public void setTransMoney(String transMoney) {
				this.transMoney = transMoney;
			}


			public String getToAccName() {
				return toAccName;
			}


			public void setToAccName(String toAccName) {
				this.toAccName = toAccName;
			}



			public String getToAccNo() {
				return toAccNo;
			}


			public void setToAccNo(String toAccNo) {
				this.toAccNo = toAccNo;
			}


			public String getTransFee() {
				return transFee;
			}


			public void setTransFee(String transFee) {
				this.transFee = transFee;
			}


			public String getState() {
				return state;
			}


			public void setState(String state) {
				this.state = state;
			}


			public String getTransSummary() {
				return transSummary;
			}


			public void setTransSummary(String transSummary) {
				this.transSummary = transSummary;
			}


			public String getTransRemark() {
				return transRemark;
			}


			public void setTransRemark(String transRemark) {
				this.transRemark = transRemark;
			}


			public String getTransStarttime() {
				return transStarttime;
			}


			public void setTransStarttime(String transStarttime) {
				this.transStarttime = transStarttime;
			}


			public String getTransEndtime() {
				return transEndtime;
			}


			public void setTransEndtime(String transEndtime) {
				this.transEndtime = transEndtime;
			}
			 
			 
			 
		}
	}
}
